package com.yxh.springboot.demo.service.Impl;

import com.yxh.springboot.demo.mapper.UserMapper;
import com.yxh.springboot.demo.pojo.User;
import com.yxh.springboot.demo.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: yuxinhang
 * @Date: 2022/6/14 20:05
 * @Description
 */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public List<User> findAll() {
        return userMapper.findAll();
    }
}
